﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Extensil.Common
{
    public class CategoryAttribute : Attribute
    {
        public CategoryAttribute(string name)
            : this(name, true)
        {
        }
        public CategoryAttribute(string name, bool visible)
            : this(name, visible, false)
        {
        }
        public CategoryAttribute(string name, bool visible, bool autoStart)
        {
            _name = name;
            _visible = visible;
            _autoStart = autoStart;
        }
        string _name = String.Empty;
        public string Name
        {
            get
            {
                return _name;
            }
            set
            {
                _name = value;
            }
        }
        bool _visible = true;
        public bool Visible
        {
            get
            {
                return _visible;
            }
            set
            {
                _visible = value;
            }
        }
        bool _autoStart = true;
        public bool AutoStart
        {
            get
            {
                return _autoStart;
            }
            set
            {
                _autoStart = value;
            }
        }
        string _hotKey = String.Empty;
        public string HotKey
        {
            get
            {
                return _hotKey;
            }
            set
            {
                _hotKey = value;
            }
        }
    }
}
